package com.algebra.active.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.algebra.active.domain.AuditLog;
import com.algebra.active.mapper.AuditlogMapper;
import com.algebra.active.service.AuditlogService;
/**
  * @author al
  * @date 2020/6/10 15:21
  * @description 
  */
@Service
public class AuditlogServiceImpl implements AuditlogService{

    @Resource
    private AuditlogMapper auditlogMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return auditlogMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AuditLog record) {
        return auditlogMapper.insert(record);
    }

    @Override
    public int insertSelective(AuditLog record) {
        return auditlogMapper.insertSelective(record);
    }

    @Override
    public AuditLog selectByPrimaryKey(Long id) {
        return auditlogMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AuditLog record) {
        return auditlogMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AuditLog record) {
        return auditlogMapper.updateByPrimaryKey(record);
    }

}
